package jmine.tec.web.wicket.pages;

import org.apache.wicket.Page;

/**
 * A page that is aware of its history - has a backTo page
 * 
 * @author takeshi
 */
public interface HistoryAwarePage {

    /**
     * Sets the page that should be redirected to in case the user hits a 'back' button
     * 
     * @param sourcePageInstance the page instance
     */
    void setBackToPageInstace(Page sourcePageInstance);
}
